.task {
	display: flex;
	background: var( --color-surface );
	box-shadow: 0 0 0 1px var( --color-border-subtle );
	position: relative;

	.task__text,
	.task__illustration {
		box-sizing: border-box;
		padding: 24px;

		@include breakpoint-deprecated( '>1040px' ) {
			padding: 32px;
		}
	}

	.task__text {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.task__illustration {
		width: 33.33%;
		align-self: center;
		flex-shrink: 0;
		margin-left: auto;
		text-align: center;
	}

	.task__timing {
		margin-bottom: 10px;
		align-items: center;
		color: var( --color-text-subtle );
		font-size: $font-body-small;

		.gridicon {
			margin-right: 4px;
			vertical-align: text-bottom;
		}
	}

	.task__badge {
		background-color: var( --studio-gray-80 );
		color: var( --color-text-inverted );
		margin-bottom: 8px;
	}

	.task__title {
		@extend .wp-brand-font;
		font-size: 28px;
		line-height: 36px;
		margin-bottom: 4px;

		@include breakpoint-deprecated( '>800px' ) {
			font-size: 32px;
			line-height: 40px;
		}
	}

	.task__description {
		margin-bottom: 24px;
		font-size: $font-body;
		line-height: 24px;
		color: var( --color-text );

		@include breakpoint-deprecated( '>800px' ) {
			font-size: 18px;
			line-height: 28px;
			margin-bottom: 32px;
		}
	}

	.task__actions {
		display: flex;
		padding-top: 0;
		margin-top: auto;
		font-size: $font-body-small;
	}

	.task__skip {
		margin: auto 16px;
	}

	.spinner {
		position: absolute;
		left: 50%;
		top: 50%;
		margin-left: -10px;
		margin-top: -10px;
	}

	&.is-loading > *:not( .spinner ) {
		visibility: hidden;
	}
}

.task__skip-popover .popover__menu {
	min-width: 130px;
}
